import request from '@/utils/request'

// 查询电影年访问统计列表
export function listMovieYearVisits(query) {
  return request({
    url: '/movie/yearVisits/list',
    method: 'get',
    params: query
  })
}

// 查询电影年访问统计详细
export function getMovieYearVisits(id) {
  return request({
    url: '/movie/yearVisits/' + id,
    method: 'get'
  })
}

// 导出电影年访问统计
export function exportMovieYearVisits(query) {
  return request({
    url: '/movie/yearVisits/export',
    method: 'get',
    params: query
  })
}
